﻿using System.Windows.Forms;

public partial class ProgressForm: Form {
    public ProgressForm() {
        InitializeComponent();
    }

    public void MaxValue(int maxValue) {
        progressBar.Maximum = maxValue;
        progressBar.Step = 1;
    }

    public void Step() {
        progressBar.PerformStep();
    }
}